<template>
 <div>
    <van-nav-bar
  title="京东登录"
  left-text="返回"
  left-arrow
  @click-left="$router.go(-1)"
/> <van-contact-card type="add" @click="onAdd" add-text='添加地址 '/>
<van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit" />
 </div>
</template>

<script setup lang='ts'>
import { Toast } from 'vant';
import { useRouter } from 'vue-router'

const router=useRouter()

const onSubmit = () => {};
const onAdd = () =>{router.push('/dizhi')};
</script>
<style scoped>

</style>